(message "Printing..."))
(save-excursion
(set-buffer ps-spool-buffer)
- (apply 'call-process-region
- (point-min) (point-max) ps-lpr-command nil 0 nil
- ps-lpr-switches))
+ (if (eq system-type 'ms-dos)
+ (write-region (point-min) (point-max) "PRN")
+ (apply 'call-process-region
+ (point-min) (point-max) ps-lpr-command nil 0 nil
+ ps-lpr-switches)))
(if ps-razzle-dazzle
(message "Printing...done")))
(kill-buffer ps-spool-buffer)))